package com.feiniu.api.util;

import java.util.regex.Matcher;
import java.util.regex.Pattern;

public class RegexUtil {

	public static boolean matcher(String regex, String content) {
		Matcher matcher = Pattern.compile(regex).matcher(content);
		return matcher.matches();
	}

}
